home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d26 / expert.arc / MANUAL.DOC < prev    next >
Text File  |  1986-01-09  |  52KB  |  1,343 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.                                                   TM
  14.                                T H E   E X P E R T
  15.  
  16.  
  17.  
  18.                                   TM
  19.                       ApprovalWare   for the Implementation
  20.  
  21.                         of User-Specified Expert Systems
  22.  
  23.  
  24.  
  25.  
  26.  
  27.                                Software and Manual
  28.  
  29.                                 by Stephen Walton
  30.  
  31.  
  32.                           496 Hudson Street, Suite D15
  33.                               New York, N.Y. 10014
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.            Copyright (C) 1986 by Stephen Walton. All rights reserved.
  52.  
  53.         THE  EXPERT  is  a trademark of Stephen Walton  for  his  expert-
  54.         system-implementation software.
  55.         ApprovalWare is Stephen Walton's trademark for his user-supported 
  56.         software.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.                                 Table of Contents
  68.  
  69.         Preface......................................................1
  70.  
  71.         1. Introduction to THE EXPERT................................3
  72.  
  73.         2. Running THE EXPERT........................................7
  74.  
  75.         3. About Rulebases..........................................14
  76.  
  77.         4. About Factbases..........................................18
  78.  
  79.         5. Potential Enhancements...................................19
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.                                      Preface
  128.  
  129.  
  130.         THE  EXPERT is software I once thought I would sell for a lot  of 
  131.         money.  It is possible that it's worth a lot of money.  But there 
  132.         was  a  finite window in which it could be a commercial  product, 
  133.         remain  under  my control,  and make all that money  through  any 
  134.         channel  available to me.  That window  -- if it ever really  was 
  135.         there -- has closed.  I will catalogue my errors of judgement and 
  136.         other  sins some other time.  I will NOT subject you to my course 
  137.         in non-marketing here.
  138.  
  139.         The  software stands,  and I feel good about standing by  it.  It 
  140.         works,  it doesn't trip over its own ambitions,  and it's  clean. 
  141.         The  gotchas are few and,  better yet,  documented below.  Anyone 
  142.         who's  been  programming for a year or more  (any  language,  any 
  143.         level) should be able to make THE EXPERT do pleasing  things.  It 
  144.         does  assume that you have access to a text editor that  produces 
  145.         ASCII  files (non-document mode,  you WordStar fanatics) and know 
  146.         how to use it.  Beyond that,  the software,  this manual and  the 
  147.         example files should be enough to get you going.
  148.  
  149.         ApprovalWare is my own stupid wrinkle on the "freeware"  idea.  I 
  150.         can't  call this "freeware" because somebody else made an  effort 
  151.         to trademark the "freeware" name. What ApprovalWare means is that 
  152.         if,  after  inspection,  you approve of the software,  you really 
  153.         should  send  me  some money.  It's a little  like  those  stamp-
  154.         collecting "approvals" you get stuck with whem you send away  for 
  155.         the FREE 10,000 all-different citrus-fruits-of-many-lands stamps. 
  156.         But here there are no extras,  and no building-up debt. You don't 
  157.         owe me anything until you decide you do.
  158.  
  159.         If you like the software and/or you find it useful,  you can send 
  160.         me money.  If you don't like it or find it useful, please pass it 
  161.         along  to someone who may like it better (and you can still  send 
  162.         me money,  but I'll wonder about you).  Your contribution, if you 
  163.         choose  to make one,  is a vote.  It's a vote for  the  continued 
  164.         existence,    conscientious   support   and   energetic   further 
  165.         development  of this software.  Your ongoing use of this software 
  166.         with no contribution is a vote for minimal or no support,  for no 
  167.         enhancements  and for the despair of a programmer  who  sincerely 
  168.         thought that ApprovalWare (or whatever alias you prefer) could be 
  169.         an equitable mode of software distribution.
  170.  
  171.         A couple of questions might arise quite naturally here:
  172.  
  173.         Q.  Is THE EXPERT in its present form merely a stalking horse for 
  174.         a commercial product?
  175.         A.  Yes  -- IF it generates some kind of commercial response.  It 
  176.         would  be  a  pleasure to  discuss  enhanced  software,  specific 
  177.         applications or classes in knowledge engineering.  Custom work of 
  178.         every  kind  is  possible.  Every contributor-user  will  have  a 
  179.         telephone number to use.
  180.  
  181.  
  182.  
  183.         THE EXPERT                                     page 1
  184.  
  185.  
  186.  
  187.         Q. Is THE EXPERT the precursor of a better ApprovalWare product?
  188.         A.  For sure -- if there's any approval out there. I've got a few 
  189.         notions  for the next version,  but the needs that appear in  the 
  190.         field   will  take  priority,   if  I'm  kept   informed.   Every 
  191.         contributor-user will have a telephone number to use.
  192.  
  193.         Q. Will circulation of systems based on THE EXPERT be encouraged?
  194.         A. Of course. If enough contributor-users get things going, their 
  195.         advertisements  will be included in the ApprovalWare distribution 
  196.         of  future releases of THE EXPERT.  Every  contributor-user  will 
  197.         have  a telephone number to use.  Details are pending,  but  they 
  198.         will be limited to one screen each, I will take no responsibility 
  199.         for  their content,  AND I may censor or suppress them if I think 
  200.         they  may offend general standards of good taste,  or at  my  own 
  201.         judgement.  Additionally,  other  tests may be imposed by public-
  202.         domain   software  distribution  channels  and  will  not  be  my 
  203.         responsibility. Other means by which contributor-users can inform 
  204.         other  contributor-users  of available applications,  such  as  a 
  205.         rudimentary newsletter, will also be explored.
  206.  
  207.         Quite  frankly,  I  really don't know whether THE EXPERT  in  its 
  208.         present form is a complete product or just a hobbyists' curiosity 
  209.         (if  that).  I'm looking forward to finding out myself.  Even  if 
  210.         only hobbyists take an interest in it, that interest would please 
  211.         me,  since the microcomputer hobby has been severely  undervalued 
  212.         in the past few years and deserves more support than it currently 
  213.         gets.
  214.  
  215.         In  the  text  that follows,  "we" is used only as  an  editorial 
  216.         conceit.  I  am solely responsible for the  contents.  Where  the 
  217.         software is concerned, an acknowledgement is owed to Jim Baen who 
  218.         graciously  provided me with an early version of his  proprietary 
  219.         QuickScreen  package,  which made it easy for me to do the  popup 
  220.         menus.
  221.  
  222.         Finally, and whether you ever send a contribution or not, I thank 
  223.         you for going as far as this in examining THE EXPERT.  I hope you 
  224.         will go farther, and find it worth your trouble.
  225.  
  226.                                            Stephen Walton
  227.  
  228.                                            New York City
  229.                                            January 9, 1986
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.         THE EXPERT                                     page 2
  245.  
  246.  
  247.  
  248.  
  249.  
  250.                           1. Introduction to THE EXPERT
  251.  
  252.              What is knowledge?  How do you think a problem through?  How 
  253.         do  experts do what they do?  How many ideas can a person keep in 
  254.         mind at one time?
  255.  
  256.              These  are  practical  as  well  as  theoretical  questions. 
  257.         Practical  because there is a serious effort under way,  in  this 
  258.         country  and  elsewhere,  to work out means of  making  computers 
  259.         perform  more and more of the functions that we lump together  as 
  260.         "thinking"  when  they are performed by humans.  This  effort  is 
  261.         called Artificial Intelligence, nicknamed AI.
  262.  
  263.              A  large  portion of this effort is in the area  of  "expert 
  264.         systems,"   also  known  as  "knowledge-based   systems"   -- the 
  265.         distinction  between  knowledge and mere data a significant  one. 
  266.         The  idea is that of putting useful knowledge,  not  just  random 
  267.         facts, into a form in which a computer can successfully employ it 
  268.         to  solve  real problems as well as human experts do.  Bodies  of 
  269.         knowledge  addressed  so  far have  included  medical  diagnosis, 
  270.         analysis  of  mass  spectrograms,   petroleum  geology  and   the 
  271.         recognition of natural speech.
  272.  
  273.  
  274.         1.1 What THE EXPERT Is
  275.  
  276.              THE  EXPERT  is software for the  implementation  of  expert 
  277.         systems.  It has the following features,  which in combination we 
  278.         believe to be unique:
  279.  
  280.              1.  It  is a framework on which any number of expert systems 
  281.              can be built, and is not itself a single such system.
  282.  
  283.              2.  It runs on microcomputers,  and runs fast enough to  use 
  284.              interactively.
  285.  
  286.              3.  The  format it requires for a body of knowledge is  very 
  287.              simple (this, in turn, imposes certain limitations which are 
  288.              discussed below).
  289.  
  290.              4. Its results (conclusions and their justifications) can be 
  291.              retained for future examination or other use.
  292.  
  293.              5.  It  works  both forward and backward -- either  deriving 
  294.              consequences  from new data or testing hypotheses put to  it 
  295.              as  queries  -- and these modes can be freely mixed  by  the 
  296.              user.
  297.  
  298.              6.  It  can  explain  what it does -- why  it  is  asking  a 
  299.              particular  question  or  how  it arrived  at  a  particular 
  300.              conclusion.
  301.  
  302.              7.  It  allows  you to change your input at  any  time,  and 
  303.  
  304.  
  305.         THE EXPERT                                     page 3
  306.  
  307.  
  308.  
  309.              immediately re-evaluates all its conclusions.
  310.  
  311.              8. Because it permits chained blocks of knowledge, it is not 
  312.              limited  in the complexity of the subjects with which it can 
  313.              deal.
  314.  
  315.              9.  It  does not require a hard disk or an  unusually  great 
  316.              amount of memory (128K RAM suffices).
  317.  
  318.              In  AI parlance,  THE EXPERT uses  knowledge represented  as 
  319.         "production systems." A production is a rule;  it specifies  that 
  320.         IF  a list of conditions is met,  THEN a list of results is  true 
  321.         (sometimes  a result is an action to be performed,  rather than a 
  322.         new  fact).  A production system is a collection of  productions, 
  323.         all presumably relating to a common subject or area of knowledge. 
  324.         Production  systems  are  explained in detail  in  Patrick  Henry 
  325.         Winston's  textbook,   Artificial  Intelligence  (Addison-Wesley, 
  326.         1977).  We  will  refer to them here as "rulebases,"  a  term  we 
  327.         consider slightly more congenial.
  328.  
  329.  
  330.         1.2 What THE EXPERT Can Do
  331.  
  332.              It  would  be impossible to enumerate here all the  possible 
  333.         applications -- separate expert systems -- that can be done  with 
  334.         THE  EXPERT.  We will,  however,  make so bold as to present  the 
  335.         following list of application areas in which THE EXPERT might  be 
  336.         used:
  337.  
  338.              Insurance underwriting
  339.              Medical diagnosis
  340.              Stock selection
  341.              Psychiatric screening
  342.              Computer system configuration
  343.              Determinative mineralogy
  344.              Taxation
  345.              Pension-plan management
  346.              Botanical and zoological taxonomy
  347.              Software support
  348.              Welfare eligibility
  349.              Intelligent checklist for travel
  350.              Sales-prospect analysis
  351.              Hardware troubleshooting -- all types
  352.              Software debugging
  353.              Training -- all types
  354.              Soil analysis
  355.              Petroleum geology
  356.              Insecticide or herbicide selection and application
  357.              Fertilizer selection and application
  358.              Engineering design
  359.              Job scheduling
  360.              Preventive maintenance
  361.              Corporate distribution
  362.              Weather forecasting
  363.              Formal logic
  364.  
  365.  
  366.         THE EXPERT                                     page 4
  367.  
  368.  
  369.  
  370.              Experiment planning
  371.              Any application for which decision tables have been used
  372.              Project feasibility
  373.              Project management
  374.              Elementary education
  375.              Engineering materials selection
  376.              Insurance policy selection
  377.              Horserace handicapping
  378.              Licensing checklists for:
  379.                   Securities brokers
  380.                   Insurance agents
  381.                   Real estate agents
  382.                   Air transport workers
  383.              Selection of tax-advantaged investments
  384.              Parliamentary procedure
  385.              Yacht-racing rules
  386.              Livestock management
  387.              Contract drafting (selection of boilerplate clauses)
  388.              Securities registration
  389.              Home and car maintenance for the do-it-yourselfer
  390.              Advertising media analysis
  391.  
  392.              With  that  little sales pitch behind us,  this is also  the 
  393.         appropriate  place to note what,  in general  terms,  THE  EXPERT 
  394.         works with, and to note some of its limitations.
  395.  
  396.              THE  EXPERT takes both rules and facts in the form of  ASCII 
  397.         strings,  so  it  is  not,  at present,  suited  for  any  direct 
  398.         manipulation  of  graphic  information.  A  rule  is  a  list  of 
  399.         potential  facts  -- conditions -- and another list of  facts  -- 
  400.         results  -- that become true when the list of conditions is  met. 
  401.         Both  conditions and results can be stated in either positive  or 
  402.         negative form.  Each list must have at least one member; there is 
  403.         no  structural  limitation  on the number of members a  list  may 
  404.         have.
  405.  
  406.              The results obtained from THE EXPERT can be only as good  as 
  407.         the  rulebase  used.  At  present,  it is  entirely  possible  to 
  408.         construct worse-than-useless rulebases.  If it proves feasible, a 
  409.         rulebase-editing  utility program will do some testing of logical 
  410.         consistence and overall quality of rulebases. For now, one should 
  411.         keep  in mind that THE EXPERT does NOT eliminate  thinking  -- it 
  412.         merely requires that one do it right just once.
  413.  
  414.              The  rationale behind the development of THE EXPERT has been 
  415.         simple.  We  considered  the  emergence  of  expert  systems  for 
  416.         microcomputers inevitable.  Taking the highly successful  example 
  417.         of  VisiCalc,  we felt it would be best to allow users to prepare 
  418.         their  own  knowledge  bases,  just as  they  prepare  their  own 
  419.         spreadsheet  templates.  We selected formats for rules and  facts 
  420.         that would allow convenient, speedy operation. While much AI work 
  421.         has gone into means of mediating between short-term and long-term 
  422.         memory,  we felt that the most useful,  practicable product would 
  423.         be one that simply let the computer act as a much-enlarged short-
  424.         term memory. And we tried to keep everything very simple.
  425.  
  426.  
  427.         THE EXPERT                                     page 5
  428.  
  429.  
  430.  
  431.  
  432.              The  block  diagram below shows the general organization  of 
  433.         THE EXPERT.
  434.  
  435.              ____________           ___________
  436.             |            |         |           |
  437.             |  Rulebase  |---------|           |          User
  438.             |            |         |           |            |
  439.             |____________|         | Inference |            |
  440.                |    ___________    |   Engine  |            |
  441.                |   |           |   |           |      ______|______
  442.                |   |  Factbase |---|           |     |             |
  443.                |   |           |   |           |-----|             |
  444.                |   |___________|   |___________|     |             |
  445.                |         |               |           |    User     |
  446.              __|_________|_______________|_____      |  Interface  |
  447.             |                                  |     |             |
  448.             |     Files Manager                |-----|             |
  449.             |__________________________________|     |_____________|
  450.                              |
  451.                              |
  452.                 Diskette(s) and/or hard disk
  453.  
  454.              The Rulebase is the production system or collection of rules 
  455.         that determines what conclusions can be drawn and what hypotheses 
  456.         can be tested.
  457.  
  458.              The  Factbase is the collection of facts that the  user  and 
  459.         THE EXPERT are currently working with.
  460.  
  461.              The Files Manager gets rulebases and factbases from disk and 
  462.         saves factbases back to disk.
  463.  
  464.              The  Inference  Engine  does the real thinking  -- it  draws 
  465.         conclusions  from facts given by the user,  and  also  determines 
  466.         what  questions  must  be asked in order to prove or  disprove  a 
  467.         user-supplied hypothesis.
  468.  
  469.              The User Interface mediates between the human user and  both 
  470.         the  Inference  Engine and the Files Manager.  It  also  provides 
  471.         menus and review functions.
  472.  
  473.              Everything  about THE EXPERT owes a heavy debt to Artificial 
  474.         Intelligence research.  But in our own context we prefer the term 
  475.         "Intelligence Amplification." That is what THE EXPERT is meant to 
  476.         be about.
  477.  
  478.  
  479.  
  480.  
  481.  
  482.  
  483.  
  484.  
  485.  
  486.  
  487.  
  488.         THE EXPERT                                     page 6
  489.  
  490.  
  491.  
  492.  
  493.  
  494.                               2. Running THE EXPERT
  495.  
  496.              Although we feel that in many cases menu-driven software can 
  497.         be  stifling,  we deliberately set up THE EXPERT as a menu-driven 
  498.         system,  and  we still feel no regrets -- especially inasmuch  as 
  499.         the  menus  are the pop-up type and do not destroy  what's  below 
  500.         them on the screen, while the seasoned user can do away with them 
  501.         entirely.
  502.  
  503.              This  chapter  will  NOT  be  a  rote  transcription  of  an 
  504.         operating session, for two reasons. First, because there's enough 
  505.         online help available to keep you out of trouble. Second, because 
  506.         we  reserve the right to let the software change faster than  the 
  507.         documentation.
  508.  
  509.              Here we will try to develop the concepts involved in running 
  510.         THE EXPERT, and to provide you with a sense of the space in which 
  511.         you're operating.
  512.  
  513.  
  514.         2.1 The Object of the Game
  515.  
  516.              When  you're running an application -- a  rulebase  -- under 
  517.         THE EXPERT, you are usually doing one of two things:
  518.  
  519.              1.  Presenting  a set of facts to see what  conclusions,  if 
  520.              any, can be drawn from them. This is forward reasoning.
  521.  
  522.              2.  Posing a potential fact as a hypothesis,  then affirming 
  523.              or denying other potential facts (with "don't-know" response 
  524.              as  a  valid option) until your original hypothesis  can  be 
  525.              either  confirmed  or disproved,  or until it is clear  that 
  526.              neither  confirmation nor disproof is possible on the  basis 
  527.              of your answers. This is backward reasoning.
  528.  
  529.              There is a third,  "browsing" mode that is a combination  of 
  530.         the two above but requires no specific discussion here. The first 
  531.         mode above allows you to either type in your facts (if you really 
  532.         want  to)  or,  more likely,  select them from a "pick  list"  of 
  533.         potential  facts relevant to the particular rulebase.  The second 
  534.         mode above is the one most often actually used,  especially since 
  535.         it  ties  in  with  the possibility  of  a  default  or  "preset" 
  536.         hypothesis or query written into the rulebase as a suggested goal 
  537.         to work toward.
  538.  
  539.              Let's restate some of this a little differently.  A rulebase 
  540.         defines implication relations among a set of potential facts,  or 
  541.         what we also call fact formats. When you work with THE EXPERT and 
  542.         a  rulebase,  you  are  assigning truth values to  specific  fact 
  543.         formats  as  you assert or deny them as facts in  the  particular 
  544.         case under consideration. (When you attach "don't know" to a fact 
  545.         format,  you are assigning it a special truth value that means it 
  546.         is  a roadblock that THE EXPERT must detour around,  if  it  can; 
  547.  
  548.  
  549.         THE EXPERT                                     page 7
  550.  
  551.  
  552.  
  553.         actually,  THE  EXPERT  has four possible truth values  for  each 
  554.         fact  format:  asserted,  denied,  user-doesn't-know and  wholly-
  555.         untested.)  When you use forward reasoning,  you are selected the 
  556.         fact formats to assert or deny,  and letting the conclusions fall 
  557.         where they may.  When you use backward reasoning,  you have  told 
  558.         THE  EXPERT  which  fact format to use as a  goal,  and  you  are 
  559.         letting it select the other fact formats which,  once asserted or 
  560.         denied, could lead according to the rulebase to an assertion or a 
  561.         denial  for  a the goal fact format.  Backward reasoning is  more 
  562.         likely to be used in practice;  with a well-constructed rulebase, 
  563.         it can direct the user to the relevant issues with no time wasted 
  564.         on irrelevancies.
  565.  
  566.              Perhaps the "case" idea should be made clearer.  A  rulebase 
  567.         defines a finite subject area or universe of discourse -- a realm 
  568.         in which only so many propositions can be true or false. Each use 
  569.         of  THE EXPERT (granting that one session can contain many  uses) 
  570.         is  the  consideration  of  a single case  in  that  universe  of 
  571.         discourse  -- one  set  of true and false  propositions  that  is 
  572.         complete  in  that universe in that it is the "given  facts"  you 
  573.         have  provided by your assertions or denials PLUS the full set of 
  574.         conclusions that can be drawn,  according to the  rulebase,  from 
  575.         those given facts.
  576.  
  577.              Maybe we'd better break for a visual aid.
  578.  
  579.  
  580.         2.2 The Cockpit
  581.  
  582.              THE   EXPERT  is  divided  into  seven  separate   operating 
  583.         sections,  each with its own menu and its own functions.  Because 
  584.         of the way you use cursor keys to get from one to the other, they 
  585.         can  be imagined to have a specific spatial  arrangement.  Here's 
  586.         the diagram:
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605.  
  606.  
  607.  
  608.  
  609.  
  610.         THE EXPERT                                     page 8
  611.  
  612.  
  613.  
  614.          _____________________________________________________________
  615.         |                                                             |
  616.         |              Main Menu (housekeeping functions)             |
  617.         |_____________________________________________________________|
  618.  
  619.                ^            ^           ^           ^           ^
  620.                |            |           |           |           |
  621.                v            v           v           v           v
  622.          _____________________________________________________________
  623.         |            |            |           |           |           | 
  624.         |            |            |           |           |           |
  625.         |   Rules    |   Fact     |   Basic   |   Given   |  Derived  |
  626.         |            |            |           |           |           |
  627.         |   Review   |   Formats  |   Input   |   Facts   |   Facts   |
  628.         |            |            |           |           |           |
  629.         |            |            |           |           |           |
  630.         |       ->   |   <-   ->  |   <-  ->  |   <-  ->  |  <-       |
  631.         |____________|____________|___________|___________|___________|
  632.  
  633.                ^            ^           ^           ^           ^
  634.                |            |           |           |           |
  635.                v            v           v           v           v
  636.          _____________________________________________________________
  637.         |                                                             |
  638.         |                            Exit Menu                        |
  639.         |_____________________________________________________________|
  640.  
  641.  
  642.              This is what the sections of the control panel are about:
  643.  
  644.              Main  Menu:  Select and load a rulebase,  select and load  a 
  645.              factbase (a partial or complete case),  save a factbase;  go 
  646.              to  any  other section -- but to go to any section  but  the 
  647.              Exit Menu, you must load a rulebase first.
  648.  
  649.              Rules Review:  Scan the rules of the (loaded) rulebase,  one 
  650.              by one,  in an intelligible format;  move right (cursor key) 
  651.              to Fact Formats.
  652.  
  653.              Fact Formats: Scan the fact formats (potential facts) of the 
  654.              rulebase,  with  the  option  of asserting  or  denying  the 
  655.              current one (the one last printed on the screen),  or making 
  656.              a query (hypothesis) of it; move left or right (cursor keys) 
  657.              to Rules Review or Basic Input respectively.
  658.  
  659.              Basic Input: Elect to use the rulebase's preset query, if it 
  660.              has one,  type in your own fact format for assertion, denial 
  661.              or  query  (if  you really want to -- it must match  a  fact 
  662.              format in everything except case of alphabetic  characters); 
  663.              move  left  or right (cursor keys) to Fact Formats or  Given 
  664.              Facts respectively.
  665.  
  666.              Given  Facts:  Scan  the  facts that YOU  have  provided  by 
  667.              assertion or denial, with the option of erasing or reversing 
  668.              the  truth value of the current one (the one last printed on 
  669.  
  670.  
  671.         THE EXPERT                                     page 9
  672.  
  673.  
  674.  
  675.              the  screen).  This is the really neat thing that  we  stole 
  676.              from  the  spreadsheet people:  when you erase or reverse  a 
  677.              given fact, ALL derived facts are wiped out and ALL possible 
  678.              conclusions that can be drawn from the altered set of  given 
  679.              facts are freshly drawn. Additionally, you can eliminate all 
  680.              your given facts,  or all your previous don't-know responses 
  681.              so  that  you can retry a query that wound  up  blocked,  or 
  682.              both.  Move  left  or right (cursor keys) to Basic Input  or 
  683.              Derived Facts respectively.
  684.  
  685.              Derived Facts: Scan the facts that THE EXPERT worked out for 
  686.              itself on the basis of your input, display the derivation of 
  687.              the current one (the one last printed on the screen) showing 
  688.              the  rule involved and which of its conditions were obtained 
  689.              directly  from  you and which were  themselves  obtained  by 
  690.              derivation  from  rules.  Move  left (cursor key)  to  Given 
  691.              Facts.
  692.  
  693.              THE  EXPERT's  menus all work the same way:  Press  the  key 
  694.         indicated  for  the function you want OR select  the  current  -- 
  695.         blinking  -- function by pressing Enter.  You change the  current 
  696.         function by scanning through the menu with the PgUp and PgDn keys 
  697.         (not  the up-arrow and down-arrow keys,  because these have other 
  698.         specific purposes in some sections).
  699.  
  700.  
  701.         2.2 Outline of Operations
  702.  
  703.              THE  EXPERT is a single program,  EXPERT.EXE and is  invoked 
  704.         from the DOS command line in the usual way;  no options are used. 
  705.         The  software  includes no overlays,  but it MUST find  the  file 
  706.         EX.MNU  on the current drive or it will not run past the  signon. 
  707.         The online help files EX0.HLP through EX7.HLP are  optional,  but 
  708.         should  be kept available on the current drive for at least  your 
  709.         first few sessions.
  710.  
  711.              After its signon material,  THE EXPERT goes to the Main Menu 
  712.         section.  From here, you select and load a rulebase to use. Then, 
  713.         most often, you use option 7 to go to the Basic Input section.
  714.  
  715.              Typically,  a  rulebase  will contain a  preset  query  -- a 
  716.         default  hypothesis  or  suggested  goal  for  backward-reasoning 
  717.         operations.  Often,  the preset query will be something as simple 
  718.         as  "done,"  and THE EXPERT will attempt to find a route  to  the 
  719.         "done" goal-state.
  720.  
  721.              What  happens  when you reason backward on a  query,  either 
  722.         preset or your own?  THE EXPERT searches the rulebase for a  rule 
  723.         by  means  of  which  the query can be asserted or  dell thed  as  a 
  724.         consequence or result,  assuming all the conditions (which may be 
  725.         positive or negative) of the rule can be met. If no such rule can 
  726.         be found,  you are told that your query is not deducible. If such 
  727.         a  rule  is  found,  THE  EXPERT  begins  asking  you  about  its 
  728.         conditions.
  729.  
  730.  
  731.  
  732.         THE EXPERT                                     page 10
  733.  
  734.  
  735.  
  736.              You are asked about the fact formats that are the conditions 
  737.         in the rule that could prove or disprove your query,  and you can 
  738.         assert  or deny each with a single keystroke.  If the pattern  of 
  739.         assertions  and  denials  that you give (thus  turning  the  fact 
  740.         formats  in question into given facts for this case) matches  the 
  741.         pattern of assertions and denials in the rule's conditions,  then 
  742.         your  query  is  either asserted or denied as a derived  fact  -- 
  743.         along with any other results that the particular rule calls for.
  744.  
  745.              If this were the whole story,  it would be an  uninteresting 
  746.         one.  In  fact,  THE EXPERT lets you do more -- and less  -- than 
  747.         just  assert  or deny a rule's conditions.  It also allows you  a 
  748.         don't-know  response,  which tags the fact format involved  as  a 
  749.         kind of roadblock to further reasoning.
  750.  
  751.              THE EXPERT then finds another way,  if it can,  to assert or 
  752.         deny your hypothesis.  It looks for another rule that can be used 
  753.         to  prove  or  disprove the query without using the  fact  format 
  754.         about which you professed your ignorance.  If it can find no such 
  755.         rule, it tables your original query, and takes up the fact format 
  756.         that got the don't-know from you as a new,  temporary goal.  Once 
  757.         that goal is satisfied one way or another,  it can go back to the 
  758.         original one.
  759.  
  760.              Another  way to put it:  When a don't-know answer  from  you 
  761.         blocks  THE  EXPERT's progress toward a goal,  it  finds  another 
  762.         route  to  the  original  goal,  OR takes the new  unkown  as  an 
  763.         intermediate goal, "stacking" the original goal to return to when 
  764.         it can profitably do so.
  765.  
  766.              In the backward-reasoning interrogation,  you have two  more 
  767.         options. One is the "Why ask?" response. It makes THE EXPERT show 
  768.         you the rule it is trying to apply, then return the question. The 
  769.         other  option  is  the "Stop asking" response,  which  tells  THE 
  770.         EXPERT  to  drop a query entirely;  this response  will  be  most 
  771.         useful  when you realize you've set the software on a useless and 
  772.         tedious  quest,  or when you are debugging a possibly  shaky  new 
  773.         rulebase.
  774.  
  775.              THE  EXPERT  will sometimes get stuck in trying to handle  a 
  776.         query, and will tell you so. Do not confuse this situation with a 
  777.         bug  in THE EXPERT!  When the software "can go no further,"  it's 
  778.         because  the  information you have provided,  combined  with  the 
  779.         rulebase,  leaves no reasoning path to the goal.  This can easily 
  780.         happen when you say "don't-know" about a crucial fact format that 
  781.         cannot  be derived from any others (call it "base level" in  that 
  782.         case) or for which no possible derivation path remains open. This 
  783.         is when the "Clear don't-knows" option in the Given Facts section 
  784.         becomes valuable,  because it lets you retry the original  query, 
  785.         posssibly reconsidering some of your don't-know responses.
  786.  
  787.              One other bit of behavior that may be unsettling if it takes 
  788.         you by surprise is rulebase chaining.  Since not every sphere  of 
  789.         human knowledge and expertise can be compressed into 100 or fewer 
  790.         if-then  rules,  it  is  sometimes necessary (or  convenient)  to 
  791.  
  792.  
  793.         THE EXPERT                                     page 11
  794.  
  795.  
  796.  
  797.         divide  an application into "chunks" of up to 100 rules and  make 
  798.         use of THE EXPERT's ability to shift from one rulebase to another 
  799.         on the fly.  When this is happening,  you will see derived  facts 
  800.         such  as "CHAIN 0 foo" or "CHAIN 1 bar" displayed,  followed by a 
  801.         fair  amount  of disk activity.  Details are in  the  section  on 
  802.         rulebases  below,  but what's basically happening is  that  we're 
  803.         moving  to  FOO.RUL or BAR.RUL and making sure that any facts  we 
  804.         had  that are also relevant to the new rulebase are available  to 
  805.         it.  In the "CHAIN 1 bar" case,  we will immediately take up  the 
  806.         preset query in BAR.RUL, if it contains one.
  807.  
  808.              You  get to save your work,  if you wish.  This is what  the 
  809.         "Save  factbase"  option  in  the  Main  Menu  is  about  -- your 
  810.         opportunity  to document and perhaps reuse your work on the  case 
  811.         you've been considering.  You can save it to disk,  in which case 
  812.         THE  EXPERT  will be able to reload it,  or you can "save" it  to 
  813.         your  printer as documentation of your input and  the  rulebase's 
  814.         conclusions.  In  either case,  you get to provide an identifying 
  815.         one-line header.
  816.  
  817.  
  818.         2.4 How to Crash
  819.  
  820.              We  believe in keeping all the bad news,  or  potential  bad 
  821.         news,  centralized.  This  is where we keep a list of the hazards 
  822.         one might encounter in running THE EXPERT.  If you come up with a 
  823.         new one,  PLEASE let us know as quickly as possible,  whether you 
  824.         are  an  enrolled contributor-user or not.  You could  be  saving 
  825.         others some grief.
  826.  
  827.              Consequences could run from mild annoyance to loss of  data. 
  828.         The ones we know about we hope to fix before any further software 
  829.         release. The list follows:
  830.  
  831.              * Trying to do ANYTHING with a write-protected diskette. THE 
  832.              EXPERT  sometimes has to create files even when  it  doesn't 
  833.              seem  to be doing any such thing,  and such an attempt  made 
  834.              with  a  write-protected diskette could lead  to  subsequent 
  835.              directory trashing. These days, write-protect tabs should be 
  836.              used on archival master copies ONLY.
  837.  
  838.              *  Trying  to  run THE EXPERT when the EX.MNU  file  is  not 
  839.              available  on  the  current drive;  produces  a  polite  but 
  840.              unproductive exit.
  841.  
  842.              * Trying to load a badly terminated rulebase,  one that  has 
  843.              no  rule terminator at the end of the last rule (we still do 
  844.              this  from time to time) or contains blank lines  after  the 
  845.              last rule's terminator;  the effect is that of a system halt 
  846.              that requires a reboot, but no damage should be done.
  847.  
  848.              * As above, for trying to load a factbase that ends wrong.
  849.  
  850.              *  Calling  for printer output when no printer is  available 
  851.              (it  must  be connected to the computer,  turned on  and  on 
  852.  
  853.  
  854.         THE EXPERT                                     page 12
  855.  
  856.  
  857.  
  858.              line).  Could cause program abort and loss of your work from 
  859.              this session.
  860.  
  861.              *  Specifying  a nonexistent disk drive for  any  operation. 
  862.              Could  cause program abort and loss of your work  from  this 
  863.              session.
  864.  
  865.              * Trying to run THE EXPERT on a computer that is not CLOSELY 
  866.              compatible with the IBM PC/XT/AT family.
  867.  
  868.              *  Trying  to run with too little memory.  If you are  still 
  869.              using DOS 1.x, 128K should suffice. For DOS 2.x or 3.x, 192K 
  870.              or  better is recommended or some larger rulebases  will  be 
  871.              unusable.
  872.  
  873.              Please be alert.  We try to be user-friendly, but this isn't 
  874.         kindergarten.
  875.  
  876.  
  877.  
  878.  
  879.  
  880.  
  881.  
  882.  
  883.  
  884.  
  885.  
  886.  
  887.  
  888.  
  889.  
  890.  
  891.  
  892.  
  893.  
  894.  
  895.  
  896.  
  897.  
  898.  
  899.  
  900.  
  901.  
  902.  
  903.  
  904.  
  905.  
  906.  
  907.  
  908.  
  909.  
  910.  
  911.  
  912.  
  913.  
  914.  
  915.         THE EXPERT                                     page 13
  916.  
  917.  
  918.  
  919.  
  920.  
  921.                                3. About Rulebases
  922.  
  923.  
  924.              The rulebase is the heart of a useful application under  THE 
  925.         EXPERT.  This  chapter is where we get to tell you what they look 
  926.         like, and a little bit about how they should work.
  927.  
  928.  
  929.         3.1 The Format
  930.  
  931.              A  rulebase is an ASCII file (beware of word  processors  in 
  932.         document  mode)  of type .RUL.  It should not contain  any  extra 
  933.         blank lines at beginning or end.
  934.  
  935.              Every rulebase has these elements in common:
  936.  
  937.              A  three-line  header,   presumably  used  to  identify  the 
  938.              rulebase  in more detail than a filename can provide to  the 
  939.              user.
  940.  
  941.              Zero or more rules, the form of which is detailed below.
  942.  
  943.              We   will  omit  from  consideration  here  those  rulebases 
  944.         containing no rules, since they are less useful than others.
  945.  
  946.              The header is immediately followed by the first rule. A rule 
  947.         has this format:
  948.  
  949.              One or more condition lines
  950.  
  951.              A  separator line,  which must begin with the character  ">" 
  952.              and may include a comment following that character
  953.  
  954.              One or more result lines
  955.  
  956.              An end-of-rule line, which must begin with the character "#" 
  957.              and may include a comment following that character.
  958.  
  959.              The  condition  lines  determine  the  facts  that  must  be 
  960.         asserted  if the rule is to have effect.  They may begin  with  a 
  961.         tilde  ("~") indicating that the negation of the remainder of the 
  962.         line  is the condition in question (double negatives are no  more 
  963.         proper  here  than  in conversation  with  educated  speakers  of 
  964.         English). Result lines follow the same constraints.
  965.  
  966.              Surprise!  Surprise!  Condition  and result lines had better 
  967.         not begin with the characters ">" and "#"!
  968.  
  969.              Here's a very primitive sample:
  970.  
  971.  
  972.  
  973.  
  974.  
  975.  
  976.         THE EXPERT                                     page 14
  977.  
  978.  
  979.  
  980.         Rain and sidewalks                 [header line]
  981.                                            [header line]
  982.                                            [header line]
  983.         It's going to rain                 [single condition line]
  984.         >                                  [condition-result separator]
  985.         The sidewalks will get wet         [single result line]
  986.         #                                  [rule terminator]
  987.  
  988.              The  notes  in  square brackets above are not  part  of  the 
  989.         rulebase.
  990.  
  991.  
  992.         3.2 Your Options
  993.  
  994.              We tried to keep the rulebase format pretty free. You have a 
  995.         bundle of options:
  996.  
  997.              1. Number of rules -- as many as 100 in the current version
  998.  
  999.              2.  Number of distinct line formats -- as many as 150 in the 
  1000.              current version
  1001.  
  1002.              3.  Length  of a single rule -- at least one condition  line 
  1003.              and one result line; but as many of each as you need
  1004.  
  1005.              4.  Negation  -- is  specified  with a tilde  ("~")  at  the 
  1006.              beginning of a condition or result line
  1007.  
  1008.              5.  Length of a single condition or result line  -- consider 
  1009.              anything over 200 characters potential trouble
  1010.  
  1011.              6.  Comments  -- may  occur on conditions-results  separator 
  1012.              line  and  rule-terminator  line;  may be  as  long  as  250 
  1013.              characters; will not be read in or be accessible to rulebase 
  1014.              user.
  1015.  
  1016.  
  1017.         3.3 PRESET Queries
  1018.  
  1019.              A  special  convention applies when you want to  nudge  your 
  1020.         user toward a specific query when using your rulebase.
  1021.  
  1022.              When  the third line of the rulebase header begins with  the 
  1023.         word PRESET,  all in capital letters, and the rest of the line is 
  1024.         a  valid  fact format in the rulebase (it's up to you  to  ensure 
  1025.         this),  then  that fact format is the preset or default query for 
  1026.         the rulebase.  This is the query that will automatically be  used 
  1027.         as  a goal when the user calls for "preset query" from the  Basic 
  1028.         Input menu,  OR when the rulebase is accessed via chaining mode 1 
  1029.         (see below).
  1030.  
  1031.  
  1032.         3.4 CHAINed Rulebases
  1033.  
  1034.              THE EXPERT cannot hold an unlimited number or rules or facts 
  1035.  
  1036.  
  1037.         THE EXPERT                                     page 15
  1038.  
  1039.  
  1040.  
  1041.         at one time. Some applications, in all the glory of their detail, 
  1042.         may simply be too large to swallow all at once.
  1043.  
  1044.              But   essentially   any  complex  subject  can  be   handled 
  1045.         adequately by means of chained or cascaded rulebases. There is no 
  1046.         reason  why one result within Rulebase A cannot be a command  (or 
  1047.         request) to next use Rulebase B.  The sequence of rulebases  thus 
  1048.         invoked,  of  course,  can  as  well  be a  branching  one  as  a 
  1049.         sequential one.
  1050.  
  1051.              The way you make one rulebase use another is by including as 
  1052.         a result of a rule a format like this:
  1053.  
  1054.              CHAIN n xxxxxxx
  1055.  
  1056.         where "CHAIN" is the chaining command, n is either 0 or 1 for the 
  1057.         chaining  mode,  and xxxxxxxx is the name (without ".RUL") of the 
  1058.         rulebase  to  be  used next -- which much  be  available  on  the 
  1059.         drive  specified for rulebases (the current drive if no  explicit 
  1060.         specification has been given).
  1061.  
  1062.              When a CHAIN result is encountered, THE EXPERT completes any 
  1063.         reasoning that it was doing,  saves the current factbase to disk, 
  1064.         loads  the  rulebase named in the CHAIN result,  and reloads  the 
  1065.         saved factbase.
  1066.  
  1067.              If  the  chaining mode was 0,  the chaining  action  is  now 
  1068.         complete.
  1069.  
  1070.              If the chaining mode was 1,  THE EXPERT now takes up the new 
  1071.         rulebase's preset query (if any) as a new goal.
  1072.  
  1073.              With  either  mode,  the reason for saving a  reloading  the 
  1074.         factbase  is  to make it possible for the two rulebases to  share 
  1075.         any facts whose formats appear in both rulebases.
  1076.  
  1077.              Try out, and then type out the rulebase MENU.RUL, which uses 
  1078.         mode-1 chaining to branch into other rulebases.
  1079.  
  1080.  
  1081.         3.5 Rulebase Organization and Logic
  1082.  
  1083.              A lengthy topic that we cannot treat fully here.  We hope in 
  1084.         the  future  to  provide  a  powerful  assistant,   if  not  full 
  1085.         automation,   for  rulebase  creation.  Below  are  some  of  the 
  1086.         important  basics  for  creating  your own  rulebases  with  your 
  1087.         favorite text editor.
  1088.  
  1089.              Consistency:   THE  EXPERT  will  effectively  not  load   a 
  1090.         blatantly  inconsistent rulebase exactly as given.  If two  rules 
  1091.         have exactly the same conditions but yield opposite results, only 
  1092.         one  (the  one  occurring later in the rulebase)  will  be  used. 
  1093.         Subtler  forms of inconsistency are not trapped by the  software, 
  1094.         though,  and are the rulebase maker's responsibility.  Start your 
  1095.         rulebase in the simplest possible form,  let it grow more complex 
  1096.  
  1097.  
  1098.         THE EXPERT                                     page 16
  1099.  
  1100.  
  1101.  
  1102.         only gradually, and test it thoroughly at each stage.
  1103.  
  1104.              Binary  explosions:  Because THE EXPERT's if-then rules  are 
  1105.         and-linked  only  (you can't say "If A or B  then  C"),  you  can 
  1106.         easily  get into a binary explosion of rules when many  different 
  1107.         combinations  of conditions can produce a single result.  One way 
  1108.         to  prevent this is the judicious use of intermediate  goals.  In 
  1109.         the   getting-dressed-for-the-day   and   will-drafting   example 
  1110.         rulebases,  you will see fact formats of the form  "such-and-such 
  1111.         has  been  accounted for." These are intermediates and "has  been 
  1112.         accounted for" is our code to the user that a don't-know response 
  1113.         is  appropriate  when the item comes up in  a  backward-reasoning 
  1114.         interrogation.
  1115.  
  1116.              A strategy:  For most applications,  it makes sense to start 
  1117.         with  a  goal  in mind,  then to write rules that  will  make  it 
  1118.         possible to reach that goal in specific examples.  Remember  that 
  1119.         real-world  domains will usually NOT involve an exhaustive set of 
  1120.         combinations  of conditions.  E.g.,  if you are working  on  bird 
  1121.         indentification,  it is readily apparent that there is not a real 
  1122.         bird  for every conceivable combination of  size,  plumage,  beak 
  1123.         shape, etc.
  1124.  
  1125.  
  1126.  
  1127.  
  1128.  
  1129.  
  1130.  
  1131.  
  1132.  
  1133.  
  1134.  
  1135.  
  1136.  
  1137.  
  1138.  
  1139.  
  1140.  
  1141.  
  1142.  
  1143.  
  1144.  
  1145.  
  1146.  
  1147.  
  1148.  
  1149.  
  1150.  
  1151.  
  1152.  
  1153.  
  1154.  
  1155.  
  1156.  
  1157.  
  1158.  
  1159.         THE EXPERT                                     page 17
  1160.  
  1161.  
  1162.  
  1163.  
  1164.  
  1165.                                4. About Factbases
  1166.  
  1167.  
  1168.              You've worked with some rulebases and some factbases by now. 
  1169.         It's time we told you what a factbase is supposed to look like in 
  1170.         the raw.
  1171.  
  1172.  
  1173.         4.1 The Factbase Format
  1174.  
  1175.              A  factbase  (filetype  .FCT) is an ASCII  file  and  always 
  1176.         contains these elements:
  1177.  
  1178.              An identifying header line
  1179.  
  1180.              Zero or more two-line fact statements, consisting of:
  1181.  
  1182.                   A  fact assertion or denial (starting with a tilde if a 
  1183.                   denial)
  1184.  
  1185.                   A  provenance value -- "Given" if the fact was given by 
  1186.                   the user,  otherwise "Rule n" where n is the number  of 
  1187.                   the rule used to derive the fact.
  1188.  
  1189.              Except for the header line,  a factbase may contain comments 
  1190.         only  within  the  provenance lines  (but  after  the  provenance 
  1191.         values).
  1192.  
  1193.  
  1194.         4.2 Editing Cautions
  1195.  
  1196.              Since  a factbase is an ASCII file,  you can use  your  text 
  1197.         editor on it freely. That may not be a good idea.
  1198.  
  1199.              A factbase can be thrown fatally out of synchronization with 
  1200.         THE  EXPERT's  fact-reading  routine  [present  version]  if  you 
  1201.         eliminate  the header line or make it more than one line,  or  if 
  1202.         you  drop  either an assertion/denial line or a  provenance-value 
  1203.         line.
  1204.  
  1205.              We  urge  you to leave your factbases alone.  TYPE and  read 
  1206.         them,  certainly; print them out; amaze your friends and confound 
  1207.         your enemies with them. But DON'T edit them.
  1208.  
  1209.  
  1210.  
  1211.  
  1212.  
  1213.  
  1214.  
  1215.  
  1216.  
  1217.  
  1218.  
  1219.  
  1220.         THE EXPERT                                     page 18
  1221.  
  1222.  
  1223.  
  1224.  
  1225.  
  1226.                             5. Potential Enhancements
  1227.  
  1228.  
  1229.              This  is  the  speculative section.  We have  some  possible 
  1230.         improvements in mind for THE EXPERT, and would like to know which 
  1231.         ones you would find valuable. Please vote for your favorites.
  1232.  
  1233.              Or-linked rules: This would allow THE EXPERT to use rules of 
  1234.         the form If A or B or ...  then X and Y and ...  This could  make 
  1235.         rulebase creation simpler by reducing or eliminating the need for 
  1236.         intermediate (dummy) goals.
  1237.  
  1238.              Default don't-knows:  Where those intermediate (dummy) goals 
  1239.         are  to be,  they might be flagged in the rulebase in such a  way 
  1240.         that  they  are always automatically set to the don't-know  state 
  1241.         when the rulebase is loaded. This could make some operations seem 
  1242.         smoother  to  the  rulebase user -- or  could  make  them  rather 
  1243.         mystifying.
  1244.  
  1245.              Confidence  levels:  An  option for fuzzy  or  probabilistic 
  1246.         reasoning,  in  which  every rule may be given a  trustworthiness 
  1247.         value from 0.00 to 1.00, and every fact you assert or deny may be 
  1248.         given its own confidence level on the same scale.  The confidence 
  1249.         level of a derived fact is then the product of the values for the 
  1250.         facts  on  which it is based and the rule  used,  with  a  cutoff 
  1251.         value,  a minimum level that much be reached if the derivation is 
  1252.         to  be  complete.  This level could be set by the user or by  the 
  1253.         rulebase writer.
  1254.  
  1255.              Variables:  THE  EXPERT  is an idiot savant inasmuch  as  it 
  1256.         cannot  do any arithmetic or even numeric comparisons.  We  might 
  1257.         provide a mechanism by which variable names could be used  within 
  1258.         fact  formats,  for which the user would be asked for values when 
  1259.         those formats occur in reasoning. These values could then be used 
  1260.         in numeric comparisons, if not for more complicated arithmetic.
  1261.  
  1262.              Multiple cases and relations between cases:  We  sidetracked 
  1263.         ourselves  for a while with a scheme by means of which more  than 
  1264.         one  case  at a time could be handled,  along with situations  in 
  1265.         which  one  case  could affect general  conditions  for  all.  We 
  1266.         abandoned it as irrelevant. If you think otherwise, tell us why.
  1267.  
  1268.              More  action:  By chaining from rulebase  to  rulebase,  THE 
  1269.         EXPERT  shows that it can DO things,  not just draw  conclusions, 
  1270.         and  thus  in some degree approaches the idea of  an  intelligent 
  1271.         "software  agent."  What  other things might THE EXPERT  do  that 
  1272.         could be useful?  A "shell" command that would permit loading and 
  1273.         execution  of other programs,  without losing one's place  within 
  1274.         THE EXPERT, is a possibility.
  1275.  
  1276.              Support software:  The Rulebase Editor that (embarrassingly) 
  1277.         is  mentioned  in THE EXPERT's Exit Menu is on hold because  it's 
  1278.         worse than useless unless it's really smart.  We are  considering 
  1279.  
  1280.  
  1281.         THE EXPERT                                     page 19
  1282.  
  1283.  
  1284.  
  1285.         other  approaches,   from  a  fairly  simple  logic  checker  for 
  1286.         rulebases  to  a full-blown knowledge extractor,  and do not  yet 
  1287.         know what will prove feasible.
  1288.  
  1289.              Got your own wishlist? Please share it with us!
  1290.  
  1291.  
  1292.  
  1293.  
  1294.  
  1295.  
  1296.  
  1297.  
  1298.  
  1299.  
  1300.  
  1301.  
  1302.  
  1303.  
  1304.  
  1305.  
  1306.  
  1307.  
  1308.  
  1309.  
  1310.  
  1311.  
  1312.  
  1313.  
  1314.  
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324.  
  1325.  
  1326.  
  1327.  
  1328.  
  1329.  
  1330.  
  1331.  
  1332.  
  1333.  
  1334.  
  1335.  
  1336.  
  1337.  
  1338.  
  1339.  
  1340.  
  1341.  
  1342.         THE EXPERT                                     page 20
  1343.